﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="RecoverPassword.aspx.cs" Inherits="Nivdal.RecoverPassword" Culture="auto:en-US" UICulture="auto" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta http-equiv="pragma" content="no-cache" />
    <meta name="keywords" content="Online Football Manager Game"/>
    <meta name="description" content="Recover password in Nivdal.com, that is a free online football manager game, where you manage your own football team.  Nivdal is fast growing community, where you can find many interesting people. All this is free! You are welcome to try!"/>
    <link rel="shortcut icon" href="~/Images/favicon.ico" />
    <link rel="icon" type="image/gif" href="~/Images/favicon.ico" />
    <asp:Literal ID="NoamStylesGlobalLiteral" runat="server"></asp:Literal>
    <asp:Literal ID="NoamStylesDefaultLiteral" runat="server" ></asp:Literal>
    <asp:Literal ID="StylesheetNewLiteral" runat="server"></asp:Literal>
    <asp:Literal ID="DirStylesheetLiteral" runat="server"></asp:Literal>

    <script src="JS/jquery-1.5.js" type="text/javascript"></script>  
</head>
<body  onload="rsw_autoFocusAfterAJAX=false" style="margin:0 0 0 0;">
    <form id="form1" runat="server" style="margin:0 0 0 0;">
    <cc1:ToolkitScriptManager ID="ToolkitScriptManager2" runat="server" EnablePageMethods="true">
    </cc1:ToolkitScriptManager>
    <script type="text/javascript">
        // facebook reloader during update panel refresh:
        Sys.WebForms.PageRequestManager.getInstance().add_endRequest(EndRequestHandlerBerliner);
        function EndRequestHandlerBerliner(sender, args) {
            if (args.get_error() == undefined) {
                FB.XFBML.parse();
            }
        }
    </script>
    <asp:Panel ID="DirectionPanel" runat="server" Direction="LeftToRight">
    <asp:UpdatePanel ID="UpdatePanel1" runat="server" UpdateMode="Conditional">
    <ContentTemplate>

    <div class="bg_layer1">
        
        <script type="text/javascript"  language="javascript">
            // no change of scroll position during update panel update
            var prm = Sys.WebForms.PageRequestManager.getInstance();

            prm.add_beginRequest(beginRequest);

            function beginRequest() {
                prm._scrollPosition = null;
            }
        </script>
    <div  class="bg_layer2_pic">
        <div class="auto_margin site_width" style="border: 1px solid transparent;">
            <div id="default_outsidediv" class="floater">
                <table style="width:100%;">
                <tr>
                <td class="login_width" style="vertical-align:top;">
                    <asp:Panel ID="PostCodePanel" runat="server">
                    <asp:LoginView ID="LoginView1" runat="server">
                    <AnonymousTemplate>
                        <asp:Panel ID="LoginPanel" runat="server">
                            <asp:Login ID="Login1" runat="server" DestinationPageUrl="~/RegistrationMessage.aspx"
                                FailureText="<%$ Resources:Resource, Default_Login1Text %>">
                                <LayoutTemplate>
                                    <div class="basic_element smallhalfheight login_width" id="login_area">
                                    <div class="tbl"><div class="tblr"><div class="red_title_default align">
                                       <asp:Label ID="MembersLoginLabel" runat="server" Text="<%$ Resources:Resource, Default_MembersLoginText %>" CssClass="white_title_default"></asp:Label>
                                    </div></div></div>
                                    <div class="basic_padding align">
                                        <asp:Label ID="UserNameLabel" runat="server" AssociatedControlID="UserName" CssClass="login_titles"
                                         Text="<%$ Resources:Resource, Global_Username %>"></asp:Label>
                                        <br />
                                        <asp:TextBox ID="UserName" runat="server" Font-Size="18px" Height="20px" Width="250px" CssClass="rounded_corners"></asp:TextBox>
                                        <script language="javascript" type="text/javascript">
                                            document.getElementById("LoginView1_Login1_UserName").focus();                                                            
                                        </script>
                                        <asp:RequiredFieldValidator ID="UserNameRequired" runat="server" ControlToValidate="UserName"
                                              ErrorMessage="*"  ValidationGroup="ctl00$Login1"></asp:RequiredFieldValidator>
                                        <br /><br />
                                        <asp:Label ID="PasswordLabel" runat="server" CssClass="login_titles"
                                            AssociatedControlID="Password" Text="<%$ Resources:Resource, Default_PasswordText %>"></asp:Label>
                                        <br />
                                        <asp:TextBox ID="Password" runat="server" Font-Size="18px" Height="20px" TextMode="Password"  Width="250px" CssClass="rounded_corners"></asp:TextBox>
                                        <asp:RequiredFieldValidator ID="PasswordRequired" runat="server" ControlToValidate="Password"
                                            ErrorMessage="*" ValidationGroup="ctl00$Login1"></asp:RequiredFieldValidator>
                                        <br />
                                        <asp:Literal ID="FailureText" runat="server" Text=""></asp:Literal>
                                        <br />
                                        <asp:HyperLink ID="ForgotPasswordHyperLink" runat="server" CssClass="default_text_font red_inline_text" NavigateUrl="~/RecoverPassword.aspx" 
                                          Text="<%$ Resources:Resource, Default_ForgotPasswordHyperLinkText %>"></asp:HyperLink>
                                        &nbsp;&nbsp;
                                        <asp:HyperLink ID="RegisterHyperLink" runat="server" CssClass="default_text_font red_inline_text"  NavigateUrl="~/Register.aspx" 
                                        Text="<%$ Resources:Resource, Default_RegisterHyperLinkText %>"></asp:HyperLink>                                                
                                        &nbsp;&nbsp;
                                        <asp:Button ID="LoginButton" runat="server" ValidationGroup="ctl00$Login1" CssClass="bigredbutton antifloater" 
                                        Text="<%$ Resources:Resource, Default_SignInText %>" CommandName="Login" />
                                        <div class="clearBoth"></div>       
                                        
                                    </div>
                                    </div>
                                </LayoutTemplate>
                            </asp:Login>
                        </asp:Panel>
                    </AnonymousTemplate>
                </asp:LoginView>
                    </asp:Panel>
                    <asp:Panel ID="FacebookPanel" runat="server">
                    <div class="basic_element floater login_width">
                    <div class="tbl"><div class="tblr"><div class="red_title_default align">
                       <asp:Label ID="FacebookTitleLabel" runat="server" Text="<%$ Resources:Resource, Default_FacebookTitle %>" CssClass="white_title_default"></asp:Label>
                    </div></div></div>
                    <div class="padding5">
                        <script  type ="text/javascript" src="http://connect.facebook.net/en_US/all.js#xfbml=1"></script>
                        <fb:like-box href="http://he-il.facebook.com/pages/nivdal/134220936599342" width="300"
                            height="300" show_faces="true" stream="false" header="false" onerror="this.src='Images/facebookbg.jpg';"></fb:like-box>                    
                    </div>               
                    </div>
                    </asp:Panel>
                </td>
                <td class="default_width align" style="vertical-align:top;">
                    <asp:Panel ID="CorrectDirPanel" runat="server">
                    <div class="default_padding">
                    <div class="basic_element fullheight">
                    <div class="tbl"><div class="tblr"><div class="red_title_default align">
                        <asp:Label ID="TitleLabel" runat="server" Text="<%$ Resources:Resource, ForgotThePassword_PageTitle %>" CssClass="white_title_default"></asp:Label>
                    </div></div></div>
                    <div class="padding5">
                        
                        <div class="RecoveryMargins">
                           <asp:Panel ID="Step1Panel" runat="server">
                           <asp:Label ID="RecoverPasswordTitleLabel" runat="server" Text="<%$ Resources:Resource, Default_ForgotPasswordHyperLinkText %>" 
                           CssClass="default_text_font red_inline_text"></asp:Label>
                           <asp:Label ID="InstructionsLabel" runat="server" Text="<%$ Resources:Resource, ForgotPassword_UserNameInstructions %>" CssClass="default_text_font"></asp:Label>
                           <br />
                           <asp:TextBox ID="UserName" runat="server" MaxLength="255" CssClass="rounded_corners"></asp:TextBox>
                           <asp:RequiredFieldValidator ID="UserNameRequired" runat="server" Text="<%$ Resources:Resource, ForgotPassword_UserNameRequiredText %>" CssClass="default_text_font red_inline_text"
                            ControlToValidate="UserName" SetFocusOnError="true" ToolTip="<%$ Resources:Resource, ForgotPassword_UserNameRequiredText %>"></asp:RequiredFieldValidator>
                           <br /><br />
                           <asp:Button ID="SendButton" runat="server" CssClass="GreenSmallButtonStyle" Text="<%$ Resources:Resource, Global_Submit %>" OnClick="SendInstructions" CausesValidation="true" />
                           <cc1:NoBot ID="RegNoBot" runat="server" ResponseMinimumDelaySeconds="2" CutoffWindowSeconds="60" CutoffMaximumInstances="5" />
                           </asp:Panel>
                           <asp:Panel ID="CompletePanel" runat="server" Visible="false">
                                <asp:Label ID="MessageLabel" runat="server" CssClass="default_text_font"></asp:Label>
                           </asp:Panel>
                        </div>
                           
                    </div>
                    </div>
                    
                    </div>
                    
                    </asp:Panel>
                </td>
                </tr>
                </table>
            </div>
            <div class="clearBoth"></div>
        </div>
        

    </div>
    
    </div>
    </ContentTemplate>
    </asp:UpdatePanel>
    <div class="clearBoth"></div>
     
        <div class="footer">
        <div class="auto_margin site_width">
            <div class="tbl"><div class="tblr"><div class="tblc footercell">
            <asp:HyperLink ID="PrivacyPolicyHyperLink" runat="server" Text="<%$ Resources:Resource, Global_PrivacyPolicy %>"
                NavigateUrl="~/Privacy.aspx" Target="_blank"></asp:HyperLink>
            &nbsp;&nbsp;
            <asp:HyperLink ID="TermsHyperLink" runat="server" Text="<%$ Resources:Resource, Global_TermOfUse %>"
                NavigateUrl="~/Terms.aspx" Target="_blank"></asp:HyperLink>
            &nbsp;&nbsp;
            <asp:HyperLink ID="ContactHyperlink" runat="server" Text="<%$ Resources:Resource, Global_Contact %>"
                NavigateUrl="~/Contact.aspx"></asp:HyperLink>
            &nbsp;&nbsp;
            <asp:HyperLink ID="AdvertiseHyperlink" runat="server"  NavigateUrl="~/Sponsors/Default.aspx"
                    Text="<%$ Resources:Resource, BigMasterPage_AdvertiseHyperlink %>" ></asp:HyperLink>
            &nbsp;&nbsp;
            <asp:HyperLink ID="EnterAsGuestLink" runat="server" NavigateUrl="~/Countries.aspx"
                Text="<%$ Resources:Resource, Default_EnterAsGuest %>"></asp:HyperLink>   
            <br />
            <asp:Label ID="Label2" runat="server" Text="<%$ Resources:Resource, BigMasterPage_copyrightLabel%>"></asp:Label>
            </div></div></div>
        </div>
        </div>
        
                                        
                
    </asp:Panel>
    </form>
    <script type="text/javascript">

            var _gaq = _gaq || [];
            _gaq.push(['_setAccount', 'UA-7321654-12']);
            _gaq.push(['_trackPageview']);

            (function () {
                var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
                ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
                var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
            })();

    </script>
</body>
</html>
